package rsj.sql;

import com.rlyy.aibase.utils.base.Node;
import com.rlyy.aibase.utils.base.TableNode;
import rsj.annotation.Select;
import rsj.api.org.entity.UsageReportParam;

/**
 * @author yuanqinglong
 * @since 2021/6/2 17:49
 */
public interface TestOomDao {



    @Select("SELECT * FROM sys.oper_log OFFSET #{pageNow} LIMIT #{pageSize} ")
    TableNode query(UsageReportParam usageReportParam);


    @Select("SELECT COUNT(*) FROM sys.oper_log")
    Node totalStatistics();

}
